home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / shell / csh540src.lha / Custom_Headers / clib / reqtools_protos.h < prev   
C/C++ Source or Header  |  1994-01-02  |  3KB  |  62 lines

  1. #ifndef CLIB_REQTOOLS_PROTOS_H
  2. #define CLIB_REQTOOLS_PROTOS_H
  3. /*
  4. **    $Filename: clib/reqtools_protos.h $
  5. **    $Release: 2.2 $
  6. **    $Revision: 38.11 $
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1991-1994 Nico François
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef UTILITY_TAGITEM_H
  15. #include <utility/tagitem.h>
  16. #endif    /* UTILITY_TAGITEM_H */
  17.  
  18. APTR  rtAllocRequestA (ULONG, struct TagItem *);
  19. void  rtFreeRequest (APTR);
  20. void  rtFreeReqBuffer (APTR);
  21. LONG  rtChangeReqAttrA (APTR, struct TagItem *);
  22. APTR  rtFileRequestA(struct rtFileRequester *,char *,char *,struct TagItem *);
  23. void  rtFreeFileList (struct rtFileList *);
  24. ULONG rtEZRequestA (char *,char *,struct rtReqInfo *,APTR,struct TagItem *);
  25. ULONG rtGetStringA (UBYTE *,ULONG,char *,struct rtReqInfo *,struct TagItem *);
  26. ULONG rtGetLongA (ULONG *, char *, struct rtReqInfo *, struct TagItem *);
  27. ULONG rtFontRequestA (struct rtFontRequester *, char *, struct TagItem *);
  28. LONG  rtPaletteRequestA (char *, struct rtReqInfo *, struct TagItem *);
  29. ULONG rtReqHandlerA (struct rtHandlerInfo *, ULONG, struct TagItem *);
  30. void  rtSetWaitPointer (struct Window *);
  31. ULONG rtGetVScreenSize (struct Screen *, ULONG *, ULONG *);
  32. void  rtSetReqPosition (ULONG, struct NewWindow *,
  33.                         struct Screen *, struct Window *);
  34. void  rtSpread (ULONG *, ULONG *, ULONG, ULONG, ULONG, ULONG);
  35. void  rtScreenToFrontSafely (struct Screen *);
  36. ULONG rtScreenModeRequestA (struct rtScreenModeRequester *,
  37.                             char *, struct TagItem *);
  38. void  rtCloseWindowSafely (struct Window *);
  39. APTR  rtLockWindow (struct Window *);
  40. void  rtUnlockWindow (struct Window *, APTR);
  41.  
  42. /* private functions */
  43.  
  44. struct ReqToolsPrefs *rtLockPrefs (void);
  45. void rtUnlockPrefs (void);
  46.  
  47. /* functions with varargs in reqtools.lib and reqtoolsnb.lib */
  48.  
  49. APTR  rtAllocRequest (ULONG, Tag,...);
  50. LONG  rtChangeReqAttr (APTR, Tag,...);
  51. APTR  rtFileRequest (struct rtFileRequester *, char *, char *, Tag,...);
  52. ULONG rtEZRequest (char *, char *, struct rtReqInfo *, struct TagItem *,...);
  53. ULONG rtEZRequestTags (char *, char *, struct rtReqInfo *, APTR, Tag,...);
  54. ULONG rtGetString (UBYTE *, ULONG, char *, struct rtReqInfo *, Tag,...);
  55. ULONG rtGetLong (ULONG *, char *, struct rtReqInfo *, Tag,...);
  56. ULONG rtFontRequest (struct rtFontRequester *, char *, Tag,...);
  57. LONG  rtPaletteRequest (char *, struct rtReqInfo *, Tag,...);
  58. ULONG rtReqHandler (struct rtHandlerInfo *, ULONG, Tag,...);
  59. ULONG rtScreenModeRequest (struct rtScreenModeRequester *, char *, Tag,...);
  60.  
  61. #endif /* CLIB_REQTOOLS_PROTOS_H */
  62.